const mongoose = require('mongoose');

const tourSchema = new mongoose.Schema({
  tourName: String,
  tourHead: String,
  tourContact: String,
  tourAddress: String,
  createTime: {
    type: Date,
    default: Date.now
  }
})

const tourModel = mongoose.model('tour',tourSchema)

module.exports = tourModel